package com.whsxt.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-25 11:20
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "购物车金额")
public class CartMoney {


    @ApiModelProperty(value = "总金额")
    private BigDecimal totalMoney = new BigDecimal("0");

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal subtractMoney = new BigDecimal("0");

    @ApiModelProperty(value = "最终金额")
    private BigDecimal finalMoney = new BigDecimal("0");

}
